{% load thoughts_tags %}

<!DOCTYPE html>
<html lang="en" >
<head>
     <meta charset="utf-8">
     <meta name="description" content="">
     <meta name="author" content="">
     
    
    <!-- Le styles -->
    <link href="{{ MEDIA_URL }}css/bootstrap.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
      }
    </style>


    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
    <!--[if lt IE 9]>
      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
   
</head>
<body>
    <div class="topbar">
      <div class="topbar-inner">
        <div class="container-fluid">
          <a class="brand" href="#">Genuis</a>

          <ul class="nav">
              <li class="active"><a href="/{{user.username}}">Home</a></li>
              <li> <a href="{% url thought_era  %}"> Active Thoughts </a></li>
              <li> <a href="{% url thought_archive %}"> Thoughts Archive </a></li>
              <li> <a href="{% url thought_refs %}"> References Management </a></li>
              <li> <a href="{% url search_users %}"> Search for a mapper </a> </li>
              <li> <a href="{% url invitations_view %}">
                   Invitations {% if invitations_nb %}<span class="label success">({{ invitations_nb }}) </span>{% endif %}
               </a>
              </li>

            <li><a href="#about">About</a></li>
            <li><a href="#contact">Contact</a></li>
          </ul>
          <p class="pull-right">|<a href="{% url auth_logout %}">Sign out</a></p>
          <p class="pull-right">Logged in as <a href="#">{{ user.username }}</a></p>

        </div>
      </div>
    </div>

    <div class="container-fluid">
      <div class="sidebar">
        <div class="well">
          <h5>Thoughts Management</h5>
          <ul>
            <li><a href="{% url thought_create %}">Add a Thought</a></li>
            <li><a href="{% url book_add %}">Add a Book</a></li>
            <li><a href="{% url article_add %}">Add an Article</a></li>
          </ul>
          
          <h5>My Groups</h5>
          <ul>
             {% for g in groups %}
              <li> <a href="#">{{ g.group_name }}</a></li>
             {% endfor %}
          </ul>

         {% if myauthors %}
          <h5>  My Authors </h5>
          <ul>
           {% for author in myauthors %}
           <li> <a href="#">
              {{ author.username }}
            </a>
           </li>
           {% endfor %}
          </ul>
          {% endif %}
            
        </div>
      </div>


      <div class="content">
      {% block ads %}
        <!-- Main hero unit for a primary marketing message or call to action -->
        
        <div class="hero-unit">
          <h1>Hi There!</h1>
          <p>If you want to see your mindmap when researching, start working..</p>
          <p><a class="btn primary large">Learn more &raquo;</a></p>

        </div>

       {% endblock %}
 
       {% block formspage %}
       {% endblock %}
    
       {% block content %}
       
       {% endblock %}
       
      
    
      {% block footer %}   
        <footer>
          <p>&copy; Genuis 2011</p>

        </footer>

      {% endblock %}
      </div>
    
  

   </div>

  </body>
</html>
